package com.yloveg.dao;

import java.util.List;

import com.yloveg.entity.SRolePermission;

public interface SRolePermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SRolePermission record);

    int insertSelective(SRolePermission record);

    SRolePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SRolePermission record);

    int updateByPrimaryKey(SRolePermission record);
    
    int deleteByTerm(SRolePermission record);
    
    List<SRolePermission> selectByTerm(SRolePermission record);
}